package com.dwd.pay.mapper;

import com.dwd.basic.mapper.BaseMapper;
import com.dwd.pay.pojo.AlipayInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @Description: TODO
 * @Author 汶狄
 * @Date 2021/1/28 10:53
 * @Version 1.0
 */
@Repository
@Mapper
public interface AlipayInfoMapper extends BaseMapper<AlipayInfo> {
    /**
     * 根据店铺id查询支付信息
     * @param id
     * @return
     */
    AlipayInfo queryAliPayInfoByShopId(Long id);

    /**
     * 根据appid查询支付对象
     * @param app_id
     * @return
     */
    AlipayInfo queryAliPayInfoByAppId(String app_id);
}
